AmpProject\AmpWP\Admin\SiteHealth B

Total Complexity 91
Dependencies 9
Dependents 1
Total lines 1,038
Lines of code 716
Logical lines of code 210
Comment lines 212
Methods 28
Properties 2

Methods 28

Method Rating Maintainability Complexity Lines of code
check_for_page_caching()
A
47 10 32
persistent_object_cache()
A
39 6 72
supports_async_rest_tests()
S
52 7 26
curl_multi_functions()
S
40 3 73
icu_version()
S
46 5 41
add_tests()
S
46 5 39
slug_definition_timing()
S
49 5 33
has_page_caching()
S
57 6 17
css_transient_caching()
S
45 4 47
add_debug_information()
S
40 2 73
xdebug_extension()
S
51 4 27
get_persistent_object_cache_availability()
S
54 4 23
page_cache()
S
47 3 36
modify_test_result()
S
62 4 11
get_supported_templates()
S
56 3 20
is_intl_extension_needed()
S
60 3 14
add_extensions()
S
54 2 25
add_styles()
S
58 1 38
get_css_transient_caching_disabled()
S
68 3 7
get_serve_all_templates()
S
70 3 6
register_async_test_endpoints()
S
60 1 15
__construct()
S
77 1 4
get_persistent_object_cache_learn_more_action()
S
68 1 8
get_badge_label()
S
79 1 3
register()
S
64 1 9
get_css_transient_caching_threshold()
S
69 1 7
get_css_transient_caching_sampling_range()
S
69 1 7
get_registration_action()
S
81 1 3